package cn.linran.pet.domain;

import java.math.BigDecimal;
import java.util.Date;

import cn.linran.basic.domain.BaseDomain;
import cn.linran.org.domain.Shop;
import cn.linran.user.domain.User;
import lombok.Data;

/**
 * 实体类：
 */
@Data
public class SearchMasterMsg extends BaseDomain {

    private String title;
    /**
     * 0 待审核, 1审核通过, -1 驳回 ,2成功
     */
    private Integer state = 0;
    /**
     * 宠物名称
     */
    private String name;
    private Integer age;
    private Boolean gender;
    /**
     * 毛色
     */
    private String coatColor;
    /**
     * fastdfs地址1,fastdfs地址1
     */
    private String resources;
    /**
     * 类型
     */
    private Long petType;
    private PetType type;
    private BigDecimal price;
    private String address;

    private Long userId;//谁发布的寻主消息 = 用户 = 登录了才能发布 的id
    private User user;//用户
    /**
     * 店铺id 消息分配的店铺
     */
    private Long shopId;//存储距离最近的店铺id
    private Shop shop;//商店

    private String note;

}
